import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_app/chat/single_chat.dart';

class ChooseChat {
  static void startChat(BuildContext context,String targetName,bool isGroup){
    if(isGroup){
//      Navigator.of(context).push(route);
    } else {
      Navigator.push(context, MaterialPageRoute(builder: (context) => SingleChat(targetName)));
    }
  }
}